package com.ruoyi.community.service.impl;

import java.util.List;

import com.ruoyi.community.domain.pay.PayStatistics;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.community.mapper.PayHisHouseMapper;
import com.ruoyi.community.domain.PayHisHouse;
import com.ruoyi.community.service.IPayHisHouseService;

/**
 * his_houseService业务层处理
 * 
 * @author 韩宁
 * @date 2021-12-21
 */
@Service
public class PayHisHouseServiceImpl implements IPayHisHouseService 
{
    @Autowired
    private PayHisHouseMapper payHisHouseMapper;

    /**
     * 查询his_house列表
     * 
     * @param payHisHouse his_house
     * @return his_house
     */
    @Override
    public List<PayHisHouse> selectPayHisHouseList(PayHisHouse payHisHouse)
    {
        return payHisHouseMapper.selectPayHisHouseList(payHisHouse);
    }

    @Override
    public List<PayStatistics> getInfoByCostId(Integer hisId) {
        return payHisHouseMapper.getInfoByCostId(hisId);
    }
}
